/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package staticsample;

/**
 *
 * @author parallels
 */
public class ClientBean {
    
    private int clientId;
    private String clientName;
    private static String address;

    public ClientBean(int clientId, String clientName, String address) {
        this.clientId = clientId;
        this.clientName = clientName;
        ClientBean.address = address;
    }

    public int getClientId() {
        return clientId;
    }

    public void setClientId(int clientId) {
        this.clientId = clientId;
    }

    public String getClientName() {
        return clientName;
    }

    public void setClientName(String clientName) {
        this.clientName = clientName;
    }

    //public static String getAddress() { <-- el atributo static es mejor
    public String getAddress() {
        return ClientBean.address;
    }

    public static void setAddress(String address) {
        ClientBean.address = address;
    }
    
}
